﻿using Modules.TaskMan.Views;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;
using Sorting.App.Core;

namespace Sorting.App.Modules.ModuleName
{
    public class TaskManModule : IModule
    {
        private readonly IRegionManager _regionManager;

        public TaskManModule(IRegionManager regionManager)
        {
            _regionManager = regionManager;
        }

        public void OnInitialized(IContainerProvider containerProvider)
        {
            //_regionManager.RequestNavigate(RegionNames.ContentRegion, "ViewTaskMan");
        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.RegisterForNavigation<ViewSetSysParam>();
        }
    }
}